
// import Cookies from 'js-cookie'

const state = {
  language: ''
}

const mutations = {
  changeLanguage(state, payload) {
    state.language = payload
  }
}

const actions = {
  ChangeLanguage(context, paylaod) {
    context.commit('changeLanguage', paylaod)
  }
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
